package com.ygqh.baby.mapper;

import com.ygqh.baby.po.AdminAbnormalLogistics;
import com.ygqh.baby.po.AdminAbnormalLogisticsExample;
import com.ygqh.baby.ao.JobStatus;
import com.ygqh.baby.ao.QueryInfo;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AdminAbnormalLogisticsMapper {
	int countByExample(AdminAbnormalLogisticsExample example);

	int deleteByExample(AdminAbnormalLogisticsExample example);

	int deleteByPrimaryKey(Long id);

	int insert(AdminAbnormalLogistics record);

	int insertSelective(AdminAbnormalLogistics record);

	List<AdminAbnormalLogistics> selectByExample(AdminAbnormalLogisticsExample example);

	AdminAbnormalLogistics selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") AdminAbnormalLogistics record, @Param("example") AdminAbnormalLogisticsExample example);

	int updateByExample(@Param("record") AdminAbnormalLogistics record, @Param("example") AdminAbnormalLogisticsExample example);

	int updateByPrimaryKeySelective(AdminAbnormalLogistics record);

	int updateByPrimaryKey(AdminAbnormalLogistics record);

	int countSuper(@Param("q") String q, @Param("jobStatus") JobStatus jobStatus, @Param("startDate") Date startDate, @Param("endDate") Date endDate);

	List<AdminAbnormalLogistics> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q, @Param("jobStatus") JobStatus jobStatus,
			@Param("startDate") Date startDate, @Param("endDate") Date endDate);

}
